<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class Reply extends Model
{
    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = [
        'content','reply_consumer_id','comment_id','read_status'
    ];

    public function consumer(){
        return $this->belongsTo(Consumer::class,'reply_consumer_id');
    }
}
